<?php echo form_open('admin/dataman/area_city_update');?>

	<h3><?php echo lang('dataman.object_type'); ?></h3>
	
	<div id="action">
		<?php $this->load->view('admin/partials/buttons', array('buttons' => array('add'))); ?>
	</div>
	<table border="0" class="table-list">
		<thead>
			<tr>
				<th><?php echo lang('dataman.content.id'); ?></th>
				<th><?php echo lang('dataman.content.form.state'); ?></th>
				<th><?php echo lang('dataman.content.form.city'); ?></th>
				<th><?php echo lang('dataman.edit'); ?></th>
				<th><?php echo lang('dataman.delete'); ?></th>
			</tr>
		</thead>
		<tfoot>
			<tr>
				<td colspan="5">
					<div class="inner"><?php echo $pagination; ?></div>
				</td>
			</tr>
		</tfoot>
		<tbody>
		  
			<?php foreach( $contents as $obj ): ?>
			<tr>
				<td><?php echo $obj->id; ?></td>
				<td><?php echo stripslashes( $obj->state ); ?></td>
				<td><?php echo stripslashes( $obj->city ); ?></td>
				<td><?php echo anchor('admin/dataman/city_edit/'. $obj->id,lang('dataman.edit')); ?> </td>
				<td><?php echo anchor('admin/dataman/city_delete/'. $obj->id,lang('dataman.delete')); ?></td>
			</tr>
			<?php endforeach; ?>
		</tbody>
	</table>

<?php echo form_close(); ?>